package com.mall.order.service;

import com.mall.order.pojo.OrderInfo;
import com.mall.pojo.TaotaoResult;

/**
 * @author Administrator
 */
public interface OrderService {

    /**
     * 创建订单
     * @param orderInfo
     * @return
     */
    public TaotaoResult createOrder(OrderInfo orderInfo);

    /**
     * 删除用户购物车所有数据
     * @param userId
     */
    public void deleteAllCartItemsByUserId(long userId);
}
